package uk.ac.manchester.tewpl.iceiface.client.curriculummap;

/*
 * Pair class using doubles instead
 */
public class PointD {

	  /**
	   * The x coordinate of the point
	   */
	  public double x;

	  /**
	   * The y coordinate of the point
	   */
	  public double y;

	  /**
	   * Constructs a new point with the given x and y coordinates.
	   * 
	   * @param x the x coordinate of the new point
	   * @param y the y coordinate of the new point
	   */
	  public PointD(double x, double y) {
	    this.x = x;
	    this.y = y;
	  }

	  public String toString() {
	    return ("x: " + x + ", y: " + y);
	  }

	}
